<?php
class Ajax_Controller extends My_Controller {

	function hot_item()
	{
	    $this->load->model('m_item');
	    $data['items'] = $this->m_item->get_hot_item();
	    $this->load->view('Item/Ajax_Load_Item_Homepage',$data);
	}

	function new_release_item()
	{
	    $this->load->model('m_item');
	    $data['items'] = $this->m_item->get_new_release_item();
	    $this->load->view('Item/Ajax_Load_Item_Homepage',$data);
	}

	function top_sellers_item()
	{
	    $this->load->model('m_item');
	    $data['items'] = $this->m_item->get_top_seller_item();
	    $this->load->view('Item/Ajax_Load_Item_Homepage',$data);
	}
	
}
